anonymous functions

completed