20 pretty print

Reolves #20 — Working on this issue uncovered a new issue #27