- A new generate_report function handles user story 3.