updated random with logistic