To find the range