range for ints and strings