Added processing of the output stream