making the search results a set to reduce duplication
adding more search functionality. Still need to debug
working on the tests for search