add stateservice