Try training your dog this way.