restored header and footer