str -> int