change string to int