config and footer