Parser works for the print case. Not quite sure this is the best way to do it, but it's better.