more logging to track down bug - 5
more logging to track down bug - 6