modify Rcode