it's sendState, not setState