pretty printing working in models