use shared_name for merging