added then removed debug code