adding higher order functions to fa13