Starting pass/fail algorithm