changing strings to numbers