made minor changes to template