extra space not needed. Math.ceil(Math.random * maxWeight)