Make all the indexes work