improved departures api