Training rescue dogs with unknown history