Drinking coffee then immediately taking a 20-minute nap increases alertness more than other strategies, reports Vox.

It might sound crazy: conventional wisdom is that caffeine interferes with sleep. But if you caffeinate immediately before napping and sleep for 20 minutes or less, you can exploit a quirk in the way both sleep and caffeine affect your brain to maximize alertness. Here’s the science behind the idea.