type to define a class