Scotland rounded off the first day of the IRB World Sevens Series finale at Murrayfield with an excellent 24-17 victory over South Africa.
Scotland downed South Africa at Murrayfield on Saturday
The hosts, following a 19-5 win over Russia and a 31-5 demolition of Canada, could now reach the semi-finals of an IRB Sevens event for the first time.
South Africa, fourth in the standings, were favourites for Pool C.
But it is the Scots who face Argentina in Sunday's quarter-finals, while the South Africans meet New Zealand.
The South Americans beat England en route to the last eight, but the home side will consider it a favourable draw.
And Scots coach Stephen Gemmell, whose side had finished out of the points in the first three legs of the series, declared: "We can beat any team in this competition."
South Africa - behind Fiji, New Zealand and Samoa - have two series wins under their belt but were unable to prevent Scotland running out quite comfortable winners.
Ben Cairns ran home Scotland's first two tries, and Mark Robertson touched down the third, while Colin Gregor's wide finish extended Scotland's tally to 24.
Gregor, an inspired performer for the Scots, said: "The way we played, especially in the second half of that South Africa game, was outstanding."
The Scots, who stand ninth in the overall table after tournaments in seven cities, had made a winning start in the first game of the day at Edinburgh's Murrayfield Stadium.
Stephen Gemmell's side ran in tries from Colin Shaw, who crossed twice, and Scott Forrest against Russia.
The unfancied Russians had drawn level at 5-5 after Vladimir Ostroushko touched down.
But the Scots improved as the match went on to secure a 19-5 victory, with Mike Adamson kicking two conversions.
And they made it two wins out of two with a 31-5 demolition of Canada.
Tries from Ben Cairns, Adamson, Mark Robertson, Ben Addison and Colin White ensured another heavy home victory.