adjustment to linq query