classifier from class