add to CACULATE ALLOW_FLIGHT and NOT_ALLOW_FLIGHT