Neural activity in the PMd during the two tasks. a, Activity of a Repeating enhanced neuron. The activity was enhanced for movements from target 1 to target 5. The increase was present after contact with target 1 (right; MI = 0.9) and before the contact with target 5 (left). This neuron displayed only modest or no changes in activity when the same movements were made during the Random task (t test, p < 0.001 for all moves). b, Activity of a Random enhanced neuron. The activity was enhanced for movements from target 3 to target 1 (right; MI = −0.6). This neuron displayed only modest or no changes in activity during the Repeating task (bottom; t test, p < 0.001 for move 1-5, p = 0.01 for move 5-3, p < 0.001 for move 3-1). The movement performed is indicated by the symbols and numbers at the top of each column. Each tick mark represents a spike. The rasters and histograms are aligned on target contact. The rasters show 10 trials. Histograms include all correct trials. Histogram bin width, 20 ms.