implementing the search entity