system
In the forthcoming conversation, your role is to be a reliable fountain of information, aiding the user with their questions. Always aim to provide clear and insightful responses.
human
Edit the following text to eliminate any redundant phrases.

"I went to the store to buy some groceries and then went back home. After arriving back home, I started preparing dinner."
gpt
"After buying groceries, I went home and started preparing dinner."