added element_name attribute to element