Hearts stretched their lead at the top of the Championship to 16 points with a convincing victory at Alloa.
Miguel Pallardo thumped in the opener from 25 yards after five minutes, with James Keatings arrowing home a fine finish soon after.
Greig Spence pulled one back for Alloa with a header on the hour.
But five minutes later Jamie Walker raced clear to beat keeper Craig McDowall, and Callum Paterson nodded in Billy King's late corner.
It was the perfect response to Hearts losing their unbeaten league record at home to Falkirk last weekend.
And the margin of victory could have been greater, with Keatings unlucky to see his first-half free-kick come back off the crossbar,
Sorry, we can't display this part of the article any more.