added footer to template