Returned the state when it worked. And it works!!!