added the header and the footer.