added class to newMessages