isolate pretty-printer
time to refactor??