Added some printing stuff.