modify:reorganize sequeue