add setSucces feature when succeed