add code example for streams

improve code example for stream

better example, fix few typos