Advanced state management

Part 6

Advanced state management