to defclass