more work on streams