a lot more debugging