in which the switching element is a two-electrode device