Using transistors as switches.