added union and filtering in set object