workaround for .NET(below 4.0) versions doesn't support optional arguments