use MathUtils.random instead of new Random object