def makeElement(self, kw):
        """ return element object regarding the keyword configuration
        """
        kw_name = kw
        kw_type = self.getKwType(kw_name)
        kw_config = {k.lower(): v for k, v in self.getKwConfig(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.getKwCtrlConf(kw_name)
        if ctrlconf != {}:
            retobj.setConf(ctrlconf, type='ctrl')

        return retobj