#92 -- more logging code