South Africa have made steady progress in the afternoon session on day two of the first Test against Sri Lanka by reaching 414-8 at tea in Galle.
Quinton de Kock struck a maiden Test half-century before getting dismissed just one run later as the Proteas reached 331-7 at lunch.
Jean-Paul Duminy took charge of South Africa's attack, but lost his partner Vernon Philander (27), who was dismissed for an lbw following a delivery from Angelo Mathews, who claimed his first wicket of the Test.
Morne Morkel came to the crease, but Sri Lanka's bowlers were able to slow down the run-rate as the 29-year-old hit just nine from 22 balls.
Morkel will return to the crease for the evening session alongside Duminy, who is unbeaten on 72.