merging data