adding classB