refining merge