added mergeTwo memo