private void handleTraffic() {
		if((!arrivalsQueue.isEmpty())) {
			Airplane plane = arrivalsQueue.dequeue();
			arrived.add(plane);
			totalArrivalWaitingTime += plane.getWaiting(time);
			System.out.println(plane + " has landed successfully. Waiting time: " 
					+ (int) plane.getWaiting(time));

		} else if ((!departuresQueue.isEmpty())) {
			Airplane plane = departuresQueue.dequeue();
			departed.add(plane);
			totalDepartureWaitingTime += plane.getWaiting(time);
			System.out.println(plane + " has taken off successfully. Waiting time: " 
					+ (int) plane.getWaiting(time));

		} else {
			emptyRuns++;
			System.out.println("The airport is empty");
		}
	}