Please choose the correct ending to complete the given sentence: Pets and Animals: [header] How to stop your dog from barking at strangers [title] Recognize the causes of your dog's territorial barking. [step] Often, dogs who bark at strangers are demonstrating territorial barking. This type of barking occurs because your dog is fearful and sees strangers as a potential treat.

Ending1: It may be triggered by other dogs or inconvenient environmental events. If you learn the cause for your dog's barking, you can address it thoroughly so that you can understand it more effectively. Ending2: Dogs are wired to defend their territory, so they will use their bark when they detect unknown people in familiar places like their homes and their yards. [substeps] In fact, your dog may be so motivated to bark at the perceived threat that he may ignore your shouts to stop barking or any scolding you might give him. Ending3: However, the underlying cause may be isolation, self-defense or a feeling of lack of privacy. In most cases, one of two things could be causing your dog to bark at strangers : [substeps] Lifestyle for your dog. Ending4: With such behavior your dog has to be trained to recognize the source of the barking, which is usually a stranger. [substeps] Dogs may bark because they are afraid someone is approaching or because they are scared that strangers are approaching.

Answer format: ending1/ending2/ending3/ending4