figuring out lambdas