Creating the first draft of index