public static void startCompetition(Queue teams, Queue events) {

		int queueEventSize = events.size();
		String eventName = null;
		for (int i = 0; i < queueEventSize; i++) {
			createTeamQueue();
			Event event = (Event) events.dequeue();
			eventName = event.getName();
			while (!(teams.size() == 1)) {
				Team team1 = (Team) teams.dequeue();
				Team team2 = (Team) teams.dequeue();
				endCompetition(team1, team2, event);
			}
			if (teams.size() == 1) {
				Team team = (Team) teams.dequeue();
				loserStack.push(team);
			}

			System.out.println();
			System.out.println(eventName + " tournament");
			System.out.println();
			displayResults(event);
		}
		

	}