Use random class over Math.random()