add more debugging