writing printf will not display the header info