adding some more debugging