system
Textual inquiries require your expertise. Provide insightful responses.
human
Remove any unnecessary repetition or redundancy in the following paragraph to improve coherence.

Relevant data:
"Mary went to the store to buy bread. She walked down the aisle where the bread was kept and picked up a loaf of bread. After checking the price tag on the bread, she proceeded to the checkout and paid for the loaf of bread."
gpt
Mary went to the store to buy bread, walking down the aisle where it was kept and picking up a loaf before checking the price tag and paying for it at the checkout.