'clampIntRange' is no longer a global