add doc for rangecheck