Among the many aspects of life that cause stress, jobs are the most common. A new study found that relief could come from an unexpected source: playing video games at work.

More than half of Americans regularly experience cognitive fatigue related to stress, frustration and anxiety while at work, according to the new report, published by the Human Factors and Ergonomics Society. And those individuals working in safety-critical fields—such as health care and air-traffic control—are at an even greater risk for cognitive fatigue, which could lead to errors. Michael Rupp, a doctoral student in human factors and cognitive psychology at the University of Central Florida, and his co-authors decided to evaluate whether casual video game play during rest breaks is an effective way to combat workplace stress.

Attendees play video games at the E3 2017 Electronic Entertainment Expo in Los Angeles on June 13. A new study has found that playing video games during a break at work makes employees more productive.