First version of our loop.