Added some debug statements to compile