start generate MERGE