add example of assigned lambda