partially implemented multiclass