Can we rename these `i` and `ii` variables to something like `index`?