add some useful logging