add base class for structure