allocate a channel