Added more logging to integrate