tested with random number[chenyen]