changed randomization to be serverside