adding some more logging