beginnings of search functionality