made a message class