pretty printing debug