more logging added.