move job output to separate class