adding message classes