rip out debug code