add header and footer sections