parsing string to number