improved template readability

Also removed the undefined parameter from the template