filtered should be const