added lambda expressions