first working version of the search/display of entries