wip pretty print