this is the magic where we provide anonymous functions.