finished mod of index