added flight mode