Researchers in Hungary say dogs, like many humans, suffer from sleep problems following a stressful or emotional experience, reports CBS Miami.

The researchers found that after a three-hour nap, the dogs subjected to a stressful experience had a worse sleep. They spent an average of 20 more minutes in REM sleep, the activesleep stage characterized by vivid dreaming and an increased heart rate. The stressed out dogs also woke up more quickly than their relaxed counterparts.