begin to assign type to class definition