added "create channel" function.