exercise 2 - add index