Whenever there are free leftovers in the Tech Insider office, the newsroom makes a mad dash to the kitchen.

The food is usually gone in about a minute.

But in MIT's Media Lab, everyone has a fair shot, thanks to a camera that alerts the lab when there's free food. Called the Foodcam, it features a camera that beams a photo of the leftovers to the entire lab, creators Will Glesnes and Jon Ferguson, tell Tech Insider.

As noted by Atlas Obscura, MIT's Foodcam cam has been around since the late '90s and uses a simple webcam.

Check out how it works below.