Converting bmvm to lambda.