bef merge