4. Functional programming section 1