removed two debug printfs