added an example for wrapping streams with channels