add base class.