Removing old debug code