change debugging to something simpler