Finish higher order functions