Merging the datasets