recode function

Recode