updated template to include header