private void deleteTeam()
    {
        clear();
        System.out.println("Delete Team:");
        System.out.println();
        try
        {
            int matchCount = matchmgr.showCount();
            int teamCount = teammgr.showCount();
            int maxMatchID = matchmgr.maxMatchId();

            ArrayList<Team> teams = teammgr.listAll();

            printShowHeader();
            for (Team t : teams)
            {
                System.out.println(t);
            }

            System.out.print("Select Team id: ");
            int id = new Scanner(System.in).nextInt();

            Team team = teammgr.getById(id);
            if (team != null)
            {
                removePoints(id);
                teammgr.deleteFromTeamAndMatch(id);
            }
            else
            {
                System.out.println("Team does not exist!");
            }
        }
        catch (Exception e)
        {
            System.out.println(" ERROR - " + e.getMessage());
        }
        pause();
    }