added cycling though debug tables