Should this debug code be removed?