end of merge