Why the steam generator works