first version with PartialSET queue