Ross McMillan scored deep into stoppage time as Stenhousemuir rescued a point in their 1-1 draw with Ayr at Somerset Park.
The hosts took the lead in the 19th minute when David Winters collected Michael Moffat's pass before producing a neat finish inside the area.
And they could have been further ahead shortly after but for some good defending from Kevin McKinlay, who managed to block Mark Shankland's goal-bound effort.
The visitors' best chance fell to Andy Rodgers just before the interval but Alistair Brown was alert to produce a fine stop.
Stewart Kean almost scored the equaliser 10 minutes from time but Brown produced another excellent save to tip it round the post.
But they were not to be denied and when Greg Ross swung a deep cross into the box in the final minute McMillan rose highest to head it into the corner.