If there was an award for player of the day, Pakistan's Saeed Ajmal would have won it on day two of the second Test in Cape Town, taking five wickets to leave the Proteas on 139 for five at stumps.

Ajmal, who had scored 21 not out with the bat too, was more than the normally superb South African top order could handle, and the hosts were still 199 runs behind at the close of play after he nipped them out one by one, ending the day with figures of 25-8-41-5.

After finding themselves in a precarious position at 33 for four on day one, Pakistan did well to recover to 338 all out at lunch, with Vernon Philander taking five wickets at Newlands yet again. Robin Peterson took the other two wickets to fall.

The South Africa fast bowler took three quick wickets early in the day to reach his ninth 'Michelle' in just 15 Tests. Tanvir Ahmed and Ajmal added 64 more runs for the ninth wicket to push the score over 300.

Pakistan started the day on 253 for five, with Asad Shafiq in the middle on 111 overnight. He could not add more to his score though, and was caught by Graeme Smith in the slips off Philander's first ball of the day.

Sarfraz Ahmed departed soon after in a similar manner, but this time it was Alviro Petersen who took the catch in the slips, diving full to his right to take it inches off the ground, one handed.

Philander's fifth wicket was that of Umar Gul, who was trapped LBW for a duck, and it looked like it would be all over for Pakistan within an hour. But Tanvir and Ajmal resisted manfully, with the former making 44 before falling to Robin Peterson.

The final wicket to tumble was that of Irfan, who looked all sorts of uncomfortable against the spinner, and was bowled for six to bring the knock to a close, just as the session had been extended.

Smith and Petersen took a while to get their bearings against the new ball, and Smith received a lifeline when he was dropped in the slips by Younis Khan. But he could not take advantage of the reprieve, and was trapped LBW by Ajmal, the 'not out' overturned on review.

Petersen faced 54 balls for his 17 runs, and was too dismissed by Ajmal, caught by Azhar Ali. This brought Faf du Plessis in to join Amla, and he was on three at tea, while Amla sat on 17.

The bearded batsman couldn't find his way around Ajmal though, and while he made 25 off 60 balls, he was bamboozled by the spinner and trapped in front. He asked for a review, but there was no inside edge, so he had to depart.

Also out after a review process was Jacques Kallis, who faced 19 balls for his two runs. The all-rounder was given out caught behind by Steve Davis, but replays showed he hadn't touched it. The third umpire then advised that the ball would have nicked leg stump, so 'umpire's call' stood and Kallis had to leave.

He was unimpressed though and initially refused to go, arguing that it had to be a catch call. But the rules state that the third umpire can give the batsman out for any reason, even if the on-field umpire didn't specify it initially.

Du Plessis, batting up the order to give Kallis more time to recover after his extended bowling spell, went on to make 28 off 83 balls before becoming Ajmal's fifth wicket. He caught the outside edge and was brilliantly caught by Younis in the slips, going low to grab it.

This left the Proteas on 109 for five, and Dean Elgar and AB de Villiers were in the middle at stumps. Elgar, who had never faced a spinner of Ajmal's caliber in his short career, made 11, while De Villiers sat on 24.