added output stream