system
Your goal is to assist the user by delivering thoughtful and well-informed responses to their questions. Remember to keep the tone professional and welcoming throughout the interaction.
human
Rearrange the following sentence to improve its logical order.

Relevant data:
'Because of the heavy rain, John had to cancel his plan to go fishing, and he decided to stay indoors instead.'
gpt
Due to the heavy rain, John cancelled his plan to go fishing and opted to stay indoors instead.