change random signature to take 2 arguments (min, max) instead of a range array.