higher order fixes
higher order todo
higher order filter and reduce
higher order cleanup