Chinese scientists have found evidence that individual neurons can act like powerful minicomputers that enable flexible behaviour such as making decisions. Scientists do not have a complete understanding of how our brains adapt to changing contexts to respond appropriately to sensory information.