refactoring b-footer