cleaned up swift_flight.rb