Added a couple debug messages