range checker