add support for anonymous functions
more examples