Trying to eliminate an infinite loop.