Higher-order functions (HOF)