more logging for debugging.