finish index!!!