how does merging work???