merge AB