gather header and footer, reduce customization