REF: generation (step1)