adding more logging