I think I see what you are saying but maybe some more explicit state transitions would help.