Add a filter option so you can discard some images if you want