Andy Scott saw his under-performing Rotherham United side lose a five-goal meeting at Dagenham in League Two.
Winger Kieron Cadogan made his debut for the Millers after moving on loan from Crystal Palace. Defender Ryan Cresswell was a substitute while midfielder Mark Bradley started after both returned after injuries but winger Gareth Evans remained sidelined with a back problem.
The Millers took the lead on 28 minutes, midfielder Danny Harrison getting his name on the scoresheet.
But they were left level at 2-2 after three goals in 13 second-half minutes. Mark Bradley and Jon Nurse fired Dagenham in front before Rotherham equalised via Alex Revell on 63 minutes.
But the goals drama was not over yet as Scott Doe nudged the hosts back in front on 78 minutes.
The Millers ended with 10 men when Michael Raynes was red carded.
For the best reports and reaction, read Sports Monday, free inside Monday’s Yorkshire Post newspaper.