public ArrayList<MultihopPacketTrace> finishedTraces(boolean broadcast){
		ArrayList<MultihopPacketTrace> results = new ArrayList<MultihopPacketTrace>();
		for(MultihopPacketTrace t : traces){
			for(MACPacket p : t.getPacketList()){
				//if it matches, add to the list
				if((p.getDestinationNode().equals(t.getDestination()) &&  p.getLoggedAt().equals(t.getDestination())) 
						|| (p.getDestinationNode().isBroadcast() && broadcast)){
					results.add(t);
					break;
				}
			}
		}	
		return results;
	}