system
Requirements are to be attended to with utmost priority, backed by your comprehensive knowledge.
human
Change the sentence structure of the following sentence so that the information is presented in a more logical order.

'We went to the beach but it was raining, so we got ice cream instead.'
gpt
Since it was raining when we went to the beach, we got ice cream instead.