beginning of message and process class