adding the ability to filter the search