clarify higher order function examples