sorry, one more request I didn't notice last time - could you rename this from `index` to something that doesn't shadow a previous variable? (actually I got confused in the last review and that's why I had the previous suggestion).