CAPE TOWN (AFP) - Reluctant opener Ashwell Prince and captain Jacques Kallis hit centuries as South Africa moved into a commanding position on the second day of the third Test against Australia at Newlands Friday. South Africa were 404 for three at the close, an imposing 195 runs ahead of Australia's first innings total of 209. Prince, opening the batting for the first time in Test matches, made 150 while Kallis ended an 11-month century drought with 102 not out. Prince made it clear that he had not wanted to open the batting. His selection, initially as captain in place of the injured Graeme Smith, was conditional on him opening instead of slotting into his normal position in the middle. The captaincy was then handed to Kallis after a meeting chaired by Cricket SA chief executive Gerald Majola. "I made peace with it," Prince said of the opener's role. "It goes without saying that I would have liked to come back in the middle order. But these are the cards I have been dealt. I'm not talking about batting in the middle order any more. I just want to be positive in my new role." Prince did not discuss the circumstances which led to Kallis being appointed captain but he said there were no ill feelings. He and Kallis dominated the Australian bowlers during a third wicket stand of 160 off 231 balls. Prince said South Africa now wanted to play themselves into an invincible position in their search for a consolation win after Australia had clinched the series by winning the first two Tests. "Days two and three are usually the best days to bat. We'll be looking to bat for most of tomorrow if not the whole of tomorrow," he said. "If we get 350 ahead it will be ideal." Australian coach Tim Neilsen admitted Australia faced a huge task if they were to save the game. "To only get 209 was pretty disappointing. That was our first chance to put a stamp on the game. Since then they (South Africa) have played really well and we haven't been able to contain them or put any real pressure on them." Despite the controversy surrounding Prince's return, the little left- hander seemed unruffled as he moved to his 11th Test century. His hundred came up off 152 balls when he slammed leg-spinner Bryce McGain to the mid-off boundary. He exchanged handshakes with batting partner Kallis. He eventually fell to a legside catch by wicketkeeper Brad Haddin off his glove against Ben Hilfenfaus. He was initially given not out by umpire Steve Bucknor but the decision was reversed after the Australians asked for a referral. Prince faced 249 balls and hit 19 fours and two sixes. Australian debutant McGain was a major contributor to South Africa's rapid scoring rate, conceding 102 runs off 11 overs, with Kallis taking particular relish to his bowling. By contrast, fast bowler Peter Siddle bowled superbly, taking the wicket of Imraan Khan and conceding only 35 runs off 23 overs. Kallis leapt in the air to celebrate his 31st Test century but his first in 22 innings spread over 11 months. His joy turned to consternation when umpire Asad Rauf signalled a leg bye. Then there was confusion when Rauf reversed his decision after television replays showed the ball had hit his bat. Australian captain Ricky Ponting protested but the run stood. Kallis made an awkward start, being struck twice on the body by Mitchell Johnson and on the helmet by Hilfenhaus in scoring his first two runs. He laboured to four off 39 balls before taking advantage of some loose bowling by McGain. He reached his century off 144 balls, hitting 14 fours and two sixes. SCOREBOARD AUSTRALIA, 1st innings: 209 SOUTH AFRICA, 1st innings: (overnight 57-0) I. Khan c and b Siddle 20 A. Prince c Haddin b Hilfenhaus 150 H. Amla c Haddin b Johnson 46 J. Kallis not out 102 A. de Villiers not out 39 EXTRAS: (b18, lb16, nb10, w3) 47 TOTAL: (3 wkts, 102 overs, 441 mins) 404 Fall of wickets: 1-65 (Khan), 2-162 (Amla), 3-322 (Prince) To bat: J. Duminy, M. Boucher (wkt), A. Morkel, P. Harris, D. Steyn, M. Ntini BOWLING: Johnson 24-4-92-1 (nb6, w1) Hilfenhaus 25-4-97-1 (nb4, w2) Siddle 23-12-35-1 McGain 11-2-102-0 McDonald 19-6-44-0. Match position: South Africa, with seven first innings wickets standing, lead by 195 runs Toss: Australia Umpires: Asad Rauf (PAK) and Steve Bucknor (WIS) TV umpire: Billy Bowden (NZL) Match referee: Jeff Crowe (NZL)s