InsertToString method