using LINQ and Lambda expressions in some methods