use ProcessResult object for handling output