good catch on the potential infinite loop :)