setting up flight