A more complex loop.