changed R to i2r on index