Removed  Debug code