working with merging