Done index

long and lots of repeated code since some r very similar but not quite
exactly the same.