initial working version of open search
updated version of search functionality