r-recode (in progress)