replace named fn w/anon.
change ordering and rename fn.