header merger printf