Infinite loop avoided