refactored header into partial