How does the sentence end?

When it was time to go, we took the train instead of the taxi because the
train would take a shorter time to get home.