before merg