gives statechart observable context