You can avoid doing this manually by using `students.each_with_index do |student, i|`