added family to multiple higher order functions.