Are you a dog person? Chances are, it runs in the family.

A new study from British and Swedish scientists found that the decision to get a dog is heavily influenced by a person’s genetic make-up and could be inherited from your parents.

The study looked at 35,000 pairs of twins, finding that identical twins were far more likely than non-identical twins to either both have a dog or not, suggesting a genetic link.

Past research as shown that having a pet as a child makes you more likely to have pets as an adult.