added logging successfully