use this instead of vals in setFilter()