Replace lambda with bind.