Added index for exercise 6