code: def makeElement(self, kw):
          
          kw_name = kw
          kw_type = self.getElementType(kw_name)
          kw_config = {k.lower(): v for k, v in self.getElementConf(kw_name).items()}
          objtype = 'Element' + kw_type.capitalize()
          retobj = getattr(element, objtype)(name=kw_name, config=kw_config)
          # set up EPICS control configs
          ctrlconf = self.getElementCtrlConf(kw)
          if ctrlconf != {}:
              retobj.setConf(ctrlconf, type='ctrl')
  
          return retobj
docs: return element object regarding the keyword configuration