storing the index now