private double good_bowl_score(int rest, int total) {
        System.out.println("Ex = " + bowl_expectation());
        System.out.println("SD = " + bowl_SD());
        double thresholdShift = 0.0;
        // choose different parameter setting
        // according to different bowlSize and number of players 
        threshold_parameter_set();
        if(useLog) {
            thresholdShift = log_decreasing_threshold(bowl_SD(), rest, total); }
        else {
            thresholdShift = linear_decreasing_threshold(bowl_SD(), rest, total); }
        return bowl_expectation() + thresholdShift;
    }