check for preflight