protect against bad results