Add base class condition