verify Added more logging for errors