reworked multiclassing