What is the function of the steam generator