added output stream
Added OperatorVisitor