added logging of more data