removed two debug prints