Added some debug code
Added some debug code