maybe using a different parameter name would ease readability (since your loop var has the same name)