remove the doubts in code reviewer's mind about the endless loop