Added some more debug messages