added multi-class classifier