put debug back in