`i` is already defined in this scope, above on line 593