adjust state class