merging of results