added ability to define channel on the server