Gillingham secured their first win since promotion to League One with a comprehensive victory over Crewe.
Cody McDonald gave the Gills the lead by latching onto a Charlie Lee through ball before calmly slotting home.
Joe Martin doubled the advantage with a curled free-kick from 20-yards.
Crewe boss Steve Davis introduced Vadaine Oliver but he was denied twice by Gills keeper Stuart Nelson, before Adam Barrett made the points safe when he crashed home from close range.
Gillingham leapfrog above Crewe who now have the worst goal difference in the division.
The Alex were not helped by an early knee injury to defender Harry Davis, who went off in the ninth minute.
VIEW FROM THE DRESSING ROOM
Gillingham manager Martin Allen told BBC Radio Kent
"It's a reward for all the hard work the players and staff have put in.
"To put in a performance like that with a clean sheet, similar to last year with team spirit and togetherness, the players played very, very well.
"It was nice for me personally for me to do something for them."
Sorry, we were unable to load match stats, please try again.