added some LINQ expressions. Hope work.