postObj contains all the information about the message rather than to define the variables