add header and footer text