add example of using a channel