12. higher oder function example (to be continued)