add a Transformation constructor using i:std::string