Added more logging output