How does the index work?