Attention non-coffee drinkers: a cup of coffee may be the secret to preventing erectile dysfunction (ED).

Yep. A new study from the University of Texas Health Science Center at Houston reveals that coffee can give you a stronger penis.

Researchers found that guys over the age of 20 who consumed the caffeine equivalent of 2 to 3 cups of coffee a day were less likely to report ED issues than men who steered clear of the stimulant.

The connection was strongest in overweight guys, says study author David Lopez, Dr.P.H., M.P.H., but he plans to dive further into how the caffeine/ED link can affect different weight groups.

Caffeine has properties similar to ED drugs like Viagra. The stimulant triggers a series of effects that cause the arteries in your penis to relax and your blood flow to increase—both keys to a strong erection.

If you are having problems with your penis, it may not just be a lack of coffee, blame your bulging belly, according to Men’s Health urology advisor Larry Lipshultz. Too much excess baggage can harm your vascular function, which messes with your blood flow.