added Message class