WIP search function

still having an issue with the quality of the data