got statefulness to work