for merging as well