Generator recode