A new type of switch that performs logic functions within a single molecule could mean smaller, faster, and more efficient electronics. Scientists discovered the switch by experimenting with the rotation of a triangular cluster of three metal atoms held together by a nitrogen atom enclosed entirely within a cage made up entirely of carbon atoms.