final header, template footer