updated 2nd argument of range
updated 2nd argument of range