merge types