class A class B