kotlin example WIP update - use SAM functions, with()