adding an index for lesson 2