notes on streams