Changed some lambda expressions