add some more logging