Added some additional debug statements