more debugging code.