Roger Federer had to battle back from a set down to seal his place in the last sixteen in Indian Wells.
The sixteen time Grand Slam champion faced Canadian talent Milos Raonic, the pair had never faced before.
Raonic held his nerve in the opening set as it went with serve to leave them level at 6-6.
A tie break was required to decide the destination of the opener, that was also close but Raonic edged it 7-4.
Into the second Federer quashed any chance of a straight sets upset as he broke in the opening game of the second set.
He broke again in the fifth game to open up a 4-1 lead, and he went on to seal the set 6-2.
On level terms once again they went into a third and deciding set, and it was a set that went with serve for the first six games.
At 3-3 Federer picked up the pace to break as he sent a backhand winner flying past the Canadian.
That break was enough to seal the match as Federer took it at his first opportunity coming through 6-7 6-2 6-4.
Speaking after the match he said: "He's probably seen me play a whole lot of times on TV which helps him out a bit. But I really did well. I hung in there and played a great second set.
"The third set was close and I'm happy to be moving on in the tournament."
Federer, who has made a strong start to the season with titles in Rotterdam and Dubai, will now face Thomaz Bellucci in the next round.
Bellucci didn't even have to take to the court to earn his victory as NIkolay Davydenko withdrew from their third round clash due to illness.
FemaleFirst Helen Earnshaw