moving index to index-0 in prepration for merging the two versions of index