Added some more useful debugging