added methods to xml_control