added set filtering