refactor header content sample