added headers and footers