refactored footer