initial version for flight