checkrange