copying channel.h into the repo