
Dundee reached the quarter-finals of the Co-operative Insurance Cup with a thrilling extra-time win over Aberdeen.
Eddie Malone headed Jocky Scott's men in front in 38 minutes before Craig Forsyth blasted a second from close range at the start of the second half.
Michael Paton rescued Mark McGhee's side with two goals, the latter a shot from the edge of the box in the 88th minute to take the tie into extra-time.
However, a blunder by Jamie Langfield let Leigh Griffiths in for the winner.
The Dons were without injured defender Zander Diamond and Sone Aluko, who is on international duty with the Nigeria squad at the Under-20 World Cup.
Rab Douglas made his first start of the season for Dundee, replacing Tony Bullock, but the latter, sent off on Saturday against Queen of the South, was back between the sticks when the luckless Douglas was forced to leave the pitch through the recurrence of his injury.
Peter Pawlett came on as a ninth-minute substitute to replace former Parma defender Davide Grassi, who had suffered a head cut.
And two shots from the young sub forced saves in the 22nd and 46th minutes from Douglas and Bullock respectively.
Malone's first-half opener gave Dons goalie Langfield no chance, as he directed Gary Harkins' curling free-kick low to the far post.
Colin McMenamin could have heaped the pressure on McGhee's Dons at the start of the second half, but he failed to hit the net after rounding Langfield.

But the striker soon made amends when he set up 20-year-old midfielder Forsyth, who slammed the ball high into the net from close range.
Aberdeen pulled one back from a close-range Paton effort with half an hour of the match remaining, Charlie Mulgrew the provider.
And the drama increased when Paton scored from the edge of the area in the 88th minute to take the game into extra-time.
Going into the additional half hour, Aberdeen would have been many fans' favourites to go on and book a place in the quarter-finals.
But at the end of the first period of extra-time a Langfield howler allowed former Livingston striker Griffiths in to gift the Dee their third goal of the evening.
Dundee manager Jocky Scott: "I thought we did very well other than the first half, where I thought we looked a bit tentative and we allowed them to influence the game.
"It ends up a narrow scoreline but I thought we deserved to win. We may not be a Premier League team, but we showed this team what we could do.
"I thought we were the better side. At times we passed it very well. That's what I want them to do week in, week out. We have the quality to do that.
"We're delighted and we look forward to the next round."
Aberdeen manager Mark McGhee: "I thought our defending at times was shambolic: our concentration, getting too tight to people - it was poor.
"We have lost a game that I don't think we necessarily should have lost.
"I'm not taking anything away from them (Dundee), but I think we can defend better than we did.
"We are playing a system that suits the players but we didn't do well enough.
"It's the same group that will go to Ibrox and we will have to defend better, but it's going to be a longer process than simply fixing it before Saturday."