moved templating from default to base