Their parents must be so proud.

A group of roommates from Duquesne University in Pittsburgh came up with an inventive way of dealing with a rat problem — one that required teamwork, timing and precision.

“We had a rat last year right around this time and it was huge,” Jody Mackin told Buzzfeed News. “We were all freaking out.”

Unable to get hold of an exterminator this time, the four girls decided to take on the rat themselves. They concocted an ingenious plan and prepared for battle, patching up every opening in their home but the front door.

Then, one roommate coaxed the rat out with a broom while another ruthlessly smacked it down a flight of stairs. Another roommate stationed at the bottom of the stairs took one last swipe at the rodent, knocking it right out the door.

Mackin shared a video on Twitter of their victory, which has since gone viral.

“You ladies should join the NHL,” said one user.

Others couldn’t help but reference the leading mouse in “Ratatouille.”

“All he wanted was to cook you guys some dinner,” another user tweeted.