For the first time, researchers have performed logic operations with a chemical device using electric fields and ultraviolet light. The device and the pioneering methods open up research possibilities, including low-power, high-performance computer chips.