added boiler plate receive message to other message classes