footer and refactoring