The Basenji is still used by hunter/gatherers. It has incredible stamina and is excellent at solving problems.
When I got my first Basenji, she would eat everything and escape when she could. After I took her mnt biking (or hiking in the snow) she mellowed out. She knew every weekend she could go out and run, dig, wallow in dirt, sniff other dog's butts and just be a canine. This gave her an outlet and her destructive and nomadic behavior really slowed.
I trained her to follow me in the summer. I let her know I had water and let her loose (outside the city, of course) she would take off and do whatever it Basenjis do. Eventually she would get thirsty and find me. Everytime she came back I would giver her water. This conditioned her that I have value. The first couple times were harrowing.
Now its no big deal. She trained my other Basenjis how they whole mnt biking/hiking thing works.