now have different properties for input and output streams