Replace debug code with correct implementation