Added more debugging comments