Merge solution