--- note: Higher-order functions