adding flights and flow generator