Callum Davidson got the win he wanted for his St Johnstone side against Lowland League Kelty Hearts.
And he also got the added bonus of one of his strikers finding the back of the net.
Jason Kerr and Chris Kane scored the Saints goals, with Michael Tidser grabbing a Kelty consolation.
The result ends a four-game losing streak for Saints who have got their Betfred Cup campaign off to a flier.
Davidson said: “Kelty gave us a really tough game, which was what we expected.
“They worked really hard and didn’t tire. They stayed in the game for a long time.
“I thought that after the first 20 minutes we settled down well and passed the ball much better.
“We should have put the game to bed but we saw it out quite comfortably in the end.
“I’m delighted to get the win and delighted for Chris Kane to get a goal. It’s always nice to see your strikers scoring.
“It’s fantastic for him. I know what he can do and you could see his fitness improving. His work-rate for the team is tremendous.”
Kelty boss Barry Ferguson said: “I’m proud of the boys. St Johnstone have played 10 league games and are a full-time team. Callum’s got a good side there, there’s no doubt about it. They’ve been unlucky to not pick up more points in the league
“We’ve got good players but we’re still a bit behind. And I’m missing three players.
“That was the first 90 minutes that team has had together.
“We’re not where we want to be but we’re getting there.”