Added some debug and comments