Updated randomBoolean with chance.