updated debug code