Scottish Premier League newcomers Dundee needed a penalty shoot-out to defeat Third Division outfit Peterhead in the Scottish Communites League Cup.
Barry Smith's side were held to a goalless draw over 120 minutes before prevailing from the spot.
The visitors sported SPL-style numbers on their shirts but did not look a top-flight side in front of only 844 fans.
Peterhead's Rory McAllister had a late goal disallowed before goalkeeper Rab Douglas starred in the shoot-out.
The veteran former Celtic and Scotland number one saved from Callum McDonald before Scott McLaughlin hit the crossbar as Kevin McBride, John Baird, Gary Irvine and Ryan Conroy gave Dundee victory.
An injury crisis had forced Smith to name himself as a substitute alongside the half-fit Jamie McCluskey on an otherwise youthful Dundee bench, though Matt Lockwood started despite uncertainty over his contract situation.
Baird volleyed over inside a minute and Neil McGregor headed wide from a corner, but the Blue Toon went close when McAllister's shot flashed just wide.
Douglas had to be at his best midway through the first half to save a McLaughlin free-kick.
Dundee threatened before half-time when Graham Webster met a corner and his header was cleared off the line by Scott Ross for another corner, from which goalkeeper Paul Jarvie denied McGregor.
Jarvie saved from Leighton McIntosh and Conroy before the interval, but Peterhead strikers Robbie Winters and McAllister had shots go just wide at the start of the second half.
McGregor took the sting out of McAllister's 70th-minute effort before Baird went close for Dundee.
Peterhead had a late goal disallowed for a foul by McAllister, taking the match to extra-time.
Webster beat Jarvie to an Irvine long ball but could not divert it on target.
Home substitute Bryan Deasley should have scored when picked out by McAllister at the far post and McGregor and Douglas did well to deny Deasley and McLaughlin respectively as Dundee avoided a shock first-round defeat.