Added randomness to the formula