double makeTotalPredict(Match match) {
        double predict = 0;
        Team homeTeam = match.homeTeam;
        Team awayTeam = match.awayTeam;
        double homeAttack = getAttack(match, homeTeam);
        double homeDefence = getDefence(match, homeTeam);
        double awayAttack = getAttack(match, awayTeam);
        double awayDefence = getDefence(match, awayTeam);
        if (homeAttack < 0 || homeDefence < 0 || awayAttack < 0
                || awayDefence < 0) {
            return -1;
        }
        predict = homeAttack + awayDefence + homeDefence + awayAttack - cOfRich;
        return predict;
    }