A new approach to training pets