assumed structure of StateChangeEvent incorrect - fixed