How does the sentence end?

The cow slept better in the barn than in the field because it was cool in the
barn .