channel_create working, code compiles and runs