allow a value for max_errors, max_failures