This will become a simple loop after my comments above.