modefiy r and rr