more logging for debugging purposes