outputhandler class , stdoutput method