new mainmerge