global helpers for .net4