Binds header and footer