Removed old debug code