Modernize with LINQ, using scope, var keyword, and more.
beat completly code clone
remove lengthly condition statements and bool settings