preliminary version of search widget