extended templating
merge