add determinant class