replace gen with reco