changing states work now