merging multiple results