move to state variable from slice_t