add formulas to simple indices