Added some print/debug statements