added definition of "class"