debbugging this is such a pain