added some get and set func for header and message