begin add of search functionality