Changed loop variable to i

line 74