nit: just call this `filter`