The neuronal circuit for klinokinesis in C. elegans. The circuit is depicted in schematic form as a cascade for four subcircuits, as labeled on the left. The overall function of each subcircuit is shown on the right. Groups of neurons of similar function are indicated by rectangles in some cases. Symbols are given in the key. Feedback connections from command neurons to sensory interneurons, and from sensory interneurons to sensory neurons, have been omitted for clarity; inhibitory motor neurons have been omitted for the same reason. The main anatomically defined classes of neurons summarized in this diagram are as follows. ON cells (8 classes, 13 neurons): Salts (ASEL, ADF); temperature (AFD, AWC); oxygen (AQR, PQR, URX); CO2 (BAG). OFF cells (5 classes, 8 neurons): Salts (ASER, ASH); odors (AWC); O2 (BAG); CO2 (AFD). Hub neurons: RMG, RIH. Run interneurons (6 classes, 24 neurons): RMD, SMD, AIY, RIM, SMB, AIA. Turn interneurons (6 classes, 14 neurons): RIA, RIV, RIB, SIB, AIZ, AIB. Command neurons, forward locomotion (2 classes, 4 neurons): AVB, PVC. Command neurons, reverse locomotion (3 classes, 6 neurons): AVA, AVD, AVE. Excitatory motor neurons, forward locomotion (2 classes, 19 neurons): DB, VB. Excitatory motor neurons, reverse locomotion (3 classes, 32 neurons): DA, VA, AS. The number of sensory interneurons was estimated from Refs. [,,].