adding header and footer