Added merging capabilities