add header and footer