rip out debug stuff