cell state works properly