gave merge functions a dry/wet setting