model pretty printing