rename r2 to r1