* removed double Math.random()