merging begin