added class definition