Added generateNumberDigits() and getRandomItem()