tested header and footer