Added some more debugging lines