work on multi-class system - 2