cleaned up output stream, test coverage is up