implemented the search on the transport layer