for merging