refactoring b-header