testing the r2_index