updating to output different format, removing fork for 2nd path through