Now the control section is inside a function.