debug to test chg states