got state working