broke out events to enums and string mapping for retrieving the messages