Coffee decreases your risk of type two diabetes, according to a new study.

The study, led by researchers at the Harvard School of Public Health, found that people who increased the amount of coffee they drank by one cup over a four year period, had a 11 percent lower risk of obtaining type two diabetes, when compared to those who did not increase their coffee intake.

The study also found that those who decreased their coffee consumption by more than one cup a day, increased their risk of type two diabetes by 17 percent.

“These findings further demonstrate that, for most people, coffee may have health benefits,” said, senior author Frank Hu. “But coffee is only one of many factors that influence diabetes risk. More importantly, individuals should watch their weight and be physically active.”