Would it be fine if we start with random number and loop till we receive an error. After some time we can quit looping if we are unsuccessful in generating this error. ?