removed debug code.