merging is done