edited template
added back some deleted lines from template