add gChannel pointer to struct channel