simplify a bit
Ref examples
Some simple stream examples