added state transition plugin