minor changes to template