prepare to merg