How does the sentence end?

The man slept better on the bed than on the sofa because the
sofa was harder.