@Override
 public void handleEvent(TeleportationArrivalEvent event) {
   try {
     if (transitDriverIds.contains(event.getPersonId())) return;
     TravellerChain chain = chains.get(event.getPersonId());
     if (chain.traveledVehicle) chain.traveledVehicle = false;
   } catch (Exception e) {
     System.err.println(e.getStackTrace());
     System.err.println(event.toString());
   }
 }
 @Override
 public void handleEvent(TeleportationArrivalEvent event) {
   TravellerChain chain = chains.get(event.getPersonId());
   if (chain == null) {
     chain = new TravellerChain();
     chains.put(event.getPersonId(), chain);
   }
   if (chain.in) chain.modes.add("walk");
   else {
     chain.modes.add("walk");
     chain.distances.add(0.0);
   }
 }