new changes in r2_inde version 2