created Handler for output streams