debug code insert