A hat-trick from striker Kenny Miller earned Jim McIntyre his first victory as Dundee manager as they hammered Hamilton Academical at Dens Park.
Miller struck from close range in the first half before curling in two goals from the edge of the box in the second. Jesse Curran scored Dundee's third with the help of a deflection.
It means McIntyre's side move to within a point of St Mirren in 11th and earned only their second league victory of the season in 15 games. It also moves them to within five points of Hamilton, who remain 10th.
Miller's goal haul means he has scored more than a third of his side's league goals, and has five in his last three games.