added checkRange.py