extract profile header out into partial