Roger Federer has eased past Albert Ramos-Vinolas to reach the last-16 of the Shanghai Masters, avenging a defeat to the Spaniard in their last meeting at the same stage of the tournament in 2015.
Second seed Federer, who received a first-round bye, broke Ramos-Vinolas twice in the opening set and sailed through his service games without facing a break point in the match to win 6-2 7-6(5).
Ramos-Vinolas, who upset Federer four years ago to snap a 15-match losing streak against top-10 players, recovered well to force a second-set tiebreak but his Swiss opponent came back from 4-1 down to seal victory.
"I focused, because when you travel around the globe, you're missing a bit of energy. Those first few games or matches can be sometimes a bit tricky," Federer said.
"Serve was solid. I was hitting my spots and really was never in trouble there. But of course all of a sudden, being in a breaker, calls out for different play sometimes and different momentum.
"He had his chances, but it was a nice comeback for me, and overall."
The Swiss legend admitted revenge was on his mind after the 2015 loss.
“I was thinking about it. Watched highlights. Remember how it felt,” he said.
“I had my chances. I won many more points that time than I lost, so I should have actually won that match.
“But he did very well there and things turn very quickly here in Shanghai. Of course that got my attention.
“Shanghai, in that match, to play him again in the same circumstances, basically I knew [he] could be dangerous, and that's why I'm very pleased how I was able to control the match out there today.”
Federer, a twice Shanghai champion, will next meet Belgium's David Goffin or Kazakh Mikhail Kukushkin for a place in the quarter-finals.
Murray falls in fiery clash with Fognini
Former World No.1 Andy Murray showed some more positive signs in his injury comeback but eventually went down in a bruising battle with Italy's Fabio Fognini.
Murray twice served for the match in the deciding set, but Fognini dug deep to force a tiebreak and secure a 7-6(4) 2-6 7-6(2) win in just over three hours.
"There is a lot of things that I need to get better at, and I can do much better," said Murray, who underwent a career-saving hip resurfacing procedure in January.
"I will go away and I'll work on those things and be in a better position next time I play against him."