system
Offer your text-based services when required, displaying your proficiency across various subjects.
human
Improve coherence by restructuring the following sentence.

"He was having a terrible day, he spilled his coffee on his shirt and missed his bus."
gpt
Having spilled his coffee on his shirt, he missed his bus on this terrible day.