added class with messages