using lambda expressions

using lambda expressions