Losing weight can now be added to the list of effective insomnia remedies, reports Yale Daily News.

Past studies had suggested that exercise could result in a greater loss of fat around the waist. But to the surprise of Soohyun Nam, assistant professor at the Yale School of Nursing and coauthor of the study, both the diet method and the joint diet-and-exercise method equally improved sleep quality.

“As long as you lose a significant amount of body fat from the abdominal area, your sleep quality is likely to improve,” Nam said. “The main key is the amount of the body fat lost. It doesn’t matter if you [lose] body fat from diet intervention or diet plus exercise.”