generated class definition