Teaching dogs to gayrd objects and people