adding merging helper