adds more logging