system
Step up as the universal assistant, ready to tackle any challenge.
human
Rewrite the following as a concise sentence.

Relevant data:
'I decided to go to the store, and after I bought some groceries, I went home to cook dinner.'
gpt
After buying groceries, I went home to cook dinner.