added logging to leader