Add complete and fail method