added @transition annotation for statemodel