removed old debug code