add gen diff