using pprint for object formatting seems better