Added comment on state transition