In this task you are given a short story and a question regarding that story. You must answer the question based on the events of the story. Try to use the same words in the story to answer each question. You should completely answer the question in a short answer. Do not include information that is unnecessary to answer the question.
Q: Erica adopted a Labrador puppy named Jerry. Jerry loved to run away whenever he could. One day, Jerry was injured when he was hit by a car. Erica had a fence installed while he was in the veterinary hospital. Jerry loved playing in his new, safe yard.
Why had Erica a fence installed while he was in the veterinary hospital?
A:
Erica installed a fence to keep Jerry safe in his yard.