add fail_many api