fixed global random number