replaced get_departures with DataModel in pyside