added a pettyPrinter