merging process