state framework