updated and tested filterResults