change rand(1)  to  rand(2)
Merge pull request #327 from QQfoolsorellina/master

change rand(1)  to  rand(2)