added ability to create message in header