#5

working example (TestState.h)