public static void endCompetition(Team team1, Team team2, Event event) {

		// creates compeition
		Competition comp = new Competition();
		comp.event = event;
		comp.team1 = team1;
		comp.team2 = team2;

		// picks winning team puts winner back into queue loser into stack
		int winningTeam = pickWinner();
		if (winningTeam == 0) {
			comp.team1.wins++;
			comp.team2.losses++;
			teamQueue.enqueue(team1);
			loserStack.push(comp.team2);
		} else {
			comp.team1.losses++;
			comp.team2.wins++;
			teamQueue.enqueue(team2);
			loserStack.push(comp.team1);
		}

	}