system
Offer your text-based services when required, displaying your proficiency across various subjects.
human
Add transitions to improve the flow of the following sentence.

""John walked to the store. He bought some groceries. He went back home.""
gpt
After walking to the store, John bought some groceries before returning home.