commented out defective bestProb(avg) function