stringToIntWorking