Removed old debug stuff