Add singleton Random
use singleton Random instead of rand()