new branch for count to infinity problem