Implement method mergeResults()