Is there a risk of an infinite loop here?