footer refactor