COmmented, changed variable name. Also added increment to loop