finished the index