under filter/index.js, a partial solution, see comments under Filter 3 exercise