Nur dass: ein anderes Subjekt

The zu-infinitive has no subject of its own: after verbs like hoffen and sich freuen, it borrows the subject of the main clause. As soon as someone else does the action, you need dass:
- Ich freue mich, dass mein Sohn die Prüfung bestanden hat. (the son passed, not me)
- Die Lehrerin hofft, dass alle die Prüfung bestehen.
Trap: English “I want you to …” can’t become a zu-infinitive. German says Ich möchte, dass du mitkommst.