Added more debugging information