Further implementation of lambdas