Use getRandomInt instead of bollocks function