Preventing the loss of pets