ugh more debugging