refactoring footer