added C# 2 and 3 query methods