add int2str and str2int function