confirm&generate