refactoring classifier actions