Implemented header and footer