Using the higher-order functions