normally no necessary to generate the random number everytime