state event halfway implemented