How does this not result in an infinite loop? I must be missing something.