changed index in rr