add yet more logging