Improved online planning robustly underlies sequence-specific learning. Mean duration of interpress interval (IPI) pairs (IPIs 1 and 2, left; IPIs 3 and 4, right) as a function of preparation time (in ms) separately for trained and untrained sequences in the Forced-reaction time (RT) condition and trained (Tr) and untrained (Un) sequences in the Free-RT condition. Other figure conventions are the same as in Fig. 7A. A: training experiment, day 4, last 4 blocks (2 trained, 2 untrained). B: retention test, Blocked blocks. C: retention test, Mixed blocks.