Removed Debuging code