made corrections to template