refactoring classifier set functions