Add success and fail block logic