I changed the loop index