create toStr and vecToString