In a perfect world, we’d eat healthy, home-cooked meals every day. But we don’t always have time to whip up lunch or dinner, so we turn to takeout. And most of the time, that means the food we end up eating is a lot less healthy.

But a recent study revealed a quick and helpful strategy: Pick out your meal hours before you plan on chowing down. On average, study participants who chose their meal well in advance ordered options with 100 fewer calories. The thinking behind this is pretty simple: If you wait until you’re hangry, then, yeah, you’ll probably order a burger and fries over a salad.