removed debug code from rep