Added some debug output. No need to define debug