removed debug prints