Read the sentence below. Which of the following uses an infinitive in the correct way while still keeping the same meaning?

Bill ran to the store after school buying a shirt that was on sale.

(1 point)
Responses

A. Leave as is

B. Bill ran to the store after school to buy a shirt that was on sale.

C. Bill ran to the store after school and bought a new shirt that was on sale.

D. Buying a shirt that was on sale is why Bill ran to the store after school.

B. Bill ran to the store after school to buy a shirt that was on sale.