public ArrayList<MatchScheduling> scheduleFinal() throws SQLException
    {
        ArrayList<MatchScheduling> matches = new ArrayList();

        ArrayList<Team> f1Teams = new ArrayList();

        for (int k = 0; k <= 1; k++)
        {
            int homeTeamId = getById(listByMatchRound(8).get(k).getId()).getHomeTeamId();
            int guestTeamId = getById(listByMatchRound(8).get(k).getId()).getGuestTeamId();

            if (getById(listByMatchRound(8).get(k).getId()).getHomeGoals() > getById(listByMatchRound(8).get(k).getId()).getGuestGoals())
            {
                Team hw = teammgr.getById(homeTeamId);
                f1Teams.add(hw);
            }
            else
            {
                Team gw = teammgr.getById(guestTeamId);
                f1Teams.add(gw);
            }
        }

        ArrayList<MatchScheduling> finalMatch = new ArrayList();

        /*
         * Round 9 (Final)
         */
        finalMatch.add(new MatchScheduling(9, f1Teams.get(0), f1Teams.get(1)));

        matches.addAll(finalMatch);

        for (MatchScheduling m : finalMatch)
        {
            db.addMatches(m);
        }
        return null;
    }