first version of the index