merge data samples