Machine learning helps to decode signals in the sensorimotor cortex (in color) and yields new insight into the therapeutic effects of dopamine (chemical formulas).