added logging tools