Networked nerve cells are the control center of organisms. In a nematode, 300 nerve cells are sufficient to initiate complex behavior. To understand the properties of the networks, researchers switch cells on and off with light and observe the resulting behavior of the organism. Scientists now present a protein that facilitates the control of nerve cells by light. It might be used as a basis of studies of diseases of the nervous system.