worked on streams/stdio