Added some nice printing code