tweaking some minor things

added a better print method