added a message class