message class added