added more debugging

I wish I could test this locally.