better parsing of output, 772?