Removed most debug statements