Yet another version of the egg loop.