bit more logging work