changed flight.coffee