World number two Novak Djokovic saw off big-serving Milos Raonic in a pulsating contest to reach the semi-finals at the ATP World Tour Finals.
The five-time champion won 7-6 (8-6) 7-6 (7-5) at the O2 Arena to become the first man through to the last four.
The Serb, who beat Dominic Thiem in his first match on Sunday, will regain the number one ranking from Andy Murray if he goes on to take the title.
Raonic will play Thiem for the other semi-final place on Thursday.
Austria's Thiem beat Frenchman Gael Monfils 6-3 1-6 6-4 in Tuesday's opening match in the Ivan Lendl Group.