modify:reorganize sequeue with datatype of int