adds more debugging