Properly using pretty print