World No.1 Novak Djokovic is safely through to the Australian Open fourth round after seeing off young Canadian Denis Shapovalov.
After a third-set blip Djokovic overcame the 19-year-old 25th seed 6-3 6-4 4-6 6-0 in their Saturday afternoon clash on Rod Laver Arena.
The top seed next takes on Russian Daniil Medvedev, who earlier accounted for Belgian David Goffin in straight sets.
It continued Djokovic's run of 17 grand slam victories, including the Wimbledon and US Open titles, and kept him on track for a record seventh Australian Open crown.
But the 31-year-old didn't have it all his own way.
Djokovic was miffed when the crowd erupted in cheers after he served a double fault that gave Shapovalov a break in the third set to go up 5-4 and gave them the thumbs up as he walked to his chair.
World No.27 Shapavolov also double-faulted on his first set point and after seeing off a Djokovic break point sealed the third set on his third attempt with a booming forehand winner.
The Serbian left the court between sets to change his set and regained his composure and focus for the fourth set and then didn't give his opponent a sniff.
"I tried to stay in the moment and weather the storm," Djokovic said.
"I made some unforced errors and got him back in the match and then he showed the quality that will make him a player of the future."