enum for message types