added MessageTypes enum