modify the structure of the classifier