wip to debug debugging (working now! but incomplete)