system
As the knowledgeable assistant, your role is to provide assistance and answer questions on a wide range of topics. Approach each interaction with a helpful attitude and be prepared to address any queries that come your way
human
Restructure the following sentences to improve the coherence and flow of the paragraph.

'John needed to go to the store because he needed some bread for the sandwiches he was making for lunch. He got in his car and drove to the store. The store was out of bread.'
gpt
With the intent of obtaining bread for the sandwiches he was preparing, John drove to the store only to be disappointed when he discovered that it was out of stock.