How does the sentence end?

John bought the word processing software but couldn't afford a new operating system because the
operating system was too expensive.