an example of HOFs