recursive flight