breaking out header and footer