added support for CreateFromString