first implementation of lambdaws working