Rename to loop as seems consistent with the book.