a first working version of lambda expressions