add fail method