I can define the header but not the footer. How to do this?