added sub flight capability