modify indx