higher order functions answered