return functions for header, footer

closes #2