adding rhistory