first version of index
merge