updated the parsing to output nicely.