added transitions and reorderings