why do you check it here when you compute a set difference afterward?