added more logging statements