add base element class