St Mirren battled Storm Boelo to defeat Dundee and end their run of five consecutive Scottish Premiership defeats with a much-welcomed victory.
Calvin Ramsay's first goal for the Paisley side and a header from Eseosa Sule also ended Dundee's bright run of three games without defeat.
St Mirren settled the better in the difficult weather conditions, with Ismeal Kabia looking threatening every time he picked up the ball.
The opener came when striker Sule had drifted out wide. Ramsay charged through the gap in the centre of Dundee's defence, and he nicked in ahead of Dundee goalkeeper Owen Goodman to squeeze the ball home.
St Mirren had to wait until the second half for comfort, when Killian Phillips breezed out wide to clip in a cross for Sule to head in.
Bradley Fink made it a nervy one for the home side.
The striker's first attempt was saved by St Mirren goalkeeper Jacob Chapman, who could only push the ball back to the Dundee man to finish.
Steven Pressley's side could sense weakness and looked more of a threat going forward in the closing stages and with almost the last kick of the game, Dundee captain Ethan Hamilton rattled the crossbar with a close range strike. St Mirren showed their style and their stability, to claim a vital three points.