Use context specific variable names. `i` is not context specific. Something like `optionCounter` is.