Hearts have been drawn against Inverness in the League Cup for the third year in a row as the groups are decided.
The tournament, renamed the Premier Sports Cup from this year on, gets under way on the weekend of July 10, the day before Euro 2020 concludes.
On Friday the draw was made for the regionalised group stage though with some geographical quirks thrown into the mix.
Dunfermline were placed in the south section with Livingston in the north, despite the former being based around 20 miles further north.
And Hearts were placed in a different section to Edinburgh City which saw them face yet another trip up to Inverness.
Robbie Neilson's side will also face Peterhead and Cove Rangers as they rack up the miles in their campaign.
Elsewhere there's a tasty looking group with St Mirren, Dunfermline and Partick Thistle while relegated Kilmarnock face Morton and Clyde.
Premier Sports Cup group stage draw:
Group A
Hearts
Inverness
Peterhead
Cove Rangers
Stirling Albion
Group B
Dundee United
Arbroath
East Fife
Elgin City
Kelty Hearts
Group C
Ross County
Dundee
Forfar
Montrose
Brora Rangers
Group D
Livingston
Raith Rovers
Alloa Athletic
Cowdenbeath
Brechin City
Group E
Hamilton
Ayr United
Falkirk
Albion Rovers
Edinburgh City
Group F
Motherwell
Queen of the South
Airdrie
Annan Athletic
Queen's Park
Group G
Kilmarnock
Morton
Clyde
Stranraer
East Kilbride
Group H
St Mirren
Dunfermline
Stenhousemuir
Partick Thistle
Dumbarton