state-management-example works!