Merging doc