adapt philo world flights example