Its similar, but using `filter()` in line 231