fixed type of Random to math.Random