refined some Random functions