remove addElementName and just use setElementName