If you’re a woman and have trouble getting a good night’s sleep, the answer may lie as close as the person or animal you’re sleeping with. Researchers at Canisius College in Buffalo, N.Y. studied 962 women and concluded that women got interrupted less when sleeping next to a dog compared to another human or a cat.

Researchers from the Mayo Clinic in Arizona also conducted a study of 40 healthy adults, both male and female, and found that people who slept with a dog in the bedroom got more rest than people who didn’t. So if you’re having trouble sleeping, blame your human partner or your cat.

To read more about how dogs are better for sleeping than humans or cats, click here.