Added more log statements