downgraded to .NET 4.0 for VS2010 compatibility