addign more debugging