Researchers in Hungary have found another good reason to let sleeping dogs lie — and maybe for us humans to get more sleep, too, reports Ohmidog.

The scientists placed wires on the head of 15 aging dogs to measure electrical activity in the brain while they sleep. The brain activity, called sleep spindles, has been linked with learning in humans.

The Hungarian scientists are studying how dog’s ability to learn and remember changes as they get older. They hope the study will lead to a better understanding of cognitive ability and memory changes in aging dogs and humans, Voice of Americareported.