created message class