put the debug stuff back in