added footerTemplate