test (http://csharppad.com/gist/11400569)