changes for parsing the new output format