rewrite rr