Next commit, with minor refactoring, adding loop logic, and a better example.