changing debug code