Added a bunch of debug