work on multi-class system - 4