Added more debugging lines