made print a method (more pretty-ful that way)