refactor footers