Heart of Midlothian will face Hibernian in the next round of the SFA Youth Cup after the Jambos defeated St Mirren 3-2 on Friday night.
John Rankin's under-18 side were forced into extra-time by the Buddies on a wet, windy night at the Oriam.
A Sean Ward double had put the Wee Jambos ahead but goals from Josh Jack and Kyle Docherty brought St Mirren level and the two sides couldn't be separated after 90 minutes.
Scotland under-16 cap Cammy Logan, who made his first team debut against Kilmarnock at the end of last season, was the man to step up as the right back surged forward and drilled in a low winner during extra-time.
They will now take on defending champions Hibernian who beat Stirling Albion 4-1 to progress to the next stage. There was a familiar name on the scoresheet for the Hibees as Josh O'Connor, son of Garry, got a double.
Hearts have already beaten Hibs in the reserves cup this season, as well as in the reserve league just a week later. Firstly, goals from Danny Amankwaa and Craig Wighton ensured a 2-1 victory in the cup before two Australian free-kicks through Ollie Bozanic and Ben Garuccio beat the Hibees 2-0 in the league.
The tie is due to take place at the Oriam on Friday, December 7. The winners will progress through to the quarter-finals.