tweaks to template