printing both headers