worked on the index