Choose the sentence that best combines each pair of sentences in the following question.
Lucy paid a visit to the local orphanage. She then decided to donate part of her savings to the children there.
Lucy had hardly decided to donate part of her savings to the children when she paid a visit to the local orphanage. It was only when Lucy had decided to donate part of her savings to the children that she paid a visit to the local orphanage. Before she paid a visit to the local orphanage, Lucy had decided to donate part of her savings to the children there. Having paid a visit to the local orphanage, Lucy decided to donate part of her savings to the children there.