adding a method to set output in runner class