Removed some debuging code