preparations to merge