removed unused getBestPossibilities function and masterCounter array.