People with sleep apnea, especially those over 60, could decrease their risk of heart failure by using CPAP masks at night to help with breathing, according to new research, reports Medical Xpress.

The study, published Friday in the Journal of the American Heart Association, explored the connection between heart failure and sleep apnea, a condition that goes beyond plain snoring. It’s when a person pauses in breathing five to 30 times or more per hour while sleeping.

Previous studies have tied sleep apnea to heart attacks and strokes, but researchers of the new study focused on the possible link between sleep apnea and heart failure, when the heart isn’t pumping as well as it should be, causing the body to receive less oxygen.