Ross County beat Third Division Peterhead to reach the Bell's Scottish League Challenge Cup third round.
Alex Burke gave County the lead after half an hour, collecting John Rankin's pass to shoot low into the net.
A minute before the break a corner from Charlie Adam, on loan from Rangers, was headed back across goal by Burke and Martin Canning nodded in.
Peterhead scored a late penalty with Martin Bavidge netting four minutes from time.
Peterhead: Mathers, Tully, Good, Raeside, Perry, Gibson (Graeme Stewart 77), Robertson (Campbell 72), Buchan, Youngson, Michie (Johnston 22), Bavidge. Subs Not Used: Milne, Buchanan.
Booked: Graeme Stewart.
Goals: Bavidge 86 pen.
Ross County: Garden, Robertson, McCulloch, Malcolm, Canning, Lauchlan, Rankin, Adam (McGarry 64), McSwegan, Kilgannon (Winters 76), Burke (Mackay 85). Subs Not Used: Higgins, McCaffrey.
Goals: Burke 30, Canning 44.
Ref: K Toner (Scotland).