Changed the logic back to check ==FAIL