Added more debugging output