#26 showed that we have been rewriting the same filtering logic over and over. That filtering needs to be written into a reusable function.