mergeAB