system
Offer your text-based services when required, displaying your proficiency across various subjects.
human
Modify the sentence to improve coherence and cohesion between the ideas expressed.

Input:
I went to the store to buy some groceries. I saw a movie on the way home.
gpt
After going to the store to buy some groceries, I saw a movie on the way home.