Made index work