reverting behavior for class typeclass