updates to filtering