new idea for random number generation