refactor custom specs
store transition
multiple triggers with the same type