isaacs: so it works when I put it back to the Math.random() thing