work on multi-class system - 3