renamed merge_bundles